package StringExercise;

public class trim {
    public static void main(String[] args) {
        String str = "     1111      ";
        System.out.println(str);
        System.out.println(str.trim());

        String str1 = "     MiHoYou      ";
        System.out.println(str1);
        System.out.println(str1.trim());
    }
}
